Redo frame profiling
authorMatthias Clasen <mclasen@redhat.com>
Thu, 16 May 2019 19:08:34 +0000 (19:08 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 16 May 2019 19:08:34 +0000 (19:08 +0000)
commit33ffd54d5f5f2db1c7c6d829352f304589c92c94
treead9228f023b2e988c345ca1533df5a0eec9a513d
parent96a806e0963efe8afd3b3f3025d8b9be308b0b5d
Redo frame profiling

We were adding incomplete frame timings to the
profile, which lead to occasional nonsense
numbers. Instead, only add timings to the profile
once we marked them as complete. This also
gives us an opportunity to add the presentation
time as a marker.
gdk/gdkframeclock.c
gdk/gdkframeclockidle.c
gdk/gdkframeclockprivate.h
gdk/wayland/gdksurface-wayland.c
gdk/x11/gdkdisplay-x11.c